<?php

namespace Shared\LRC\Metadata;

/**
 * @package EntityMetadata
 * @version 1.0.0.0
 * @author J.Minchev
 * @internal 
 * @todo
 */
class EntityMetadata {

	/**
	 * @var string
	 */
	private $translationPropertyName;

	/**
	 * @var string
	 */
	private $translationEntityClass;

	/**
	 * @var array
	 */
	private $lrcProperties;

	/**
	 * @var array
	 */
	private $lrcAssociations = array();

	public function getLrcAssociations() {
		return $this->lrcAssociations;
	}

	public function setLrcAssociations($lrcAssociations) {
		$this->lrcAssociations = $lrcAssociations;
	}

	public function __construct($translationPropertyName, $translationEntityClass, array $lrcProperties) {
		$this->translationPropertyName = $translationPropertyName;
		$this->translationEntityClass = $translationEntityClass;
		$this->lrcProperties = $lrcProperties;
	}

	public function getTranslationEntityClass() {
		return $this->translationEntityClass;
	}

	public function getLrcProperties() {
		return $this->lrcProperties;
	}

	public function getTranslationPropertyName() {
		return $this->translationPropertyName;
	}

}
